/* assets/style.css */
/* 全局CSS重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background-color: #f0f2f5;
    line-height: 1.5;
}

#app {
    height: 100vh;
    overflow: hidden;
}

/* Element Plus全局样式调整 */
.el-button {
    border-radius: 4px;
}

.el-input__inner {
    border-radius: 4px;
}

.el-table th {
    background-color: #f5f7fa;
    font-weight: 600;
}

/* 顶部导航栏 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #304156;
    color: white;
    padding: 0 20px;
    height: 60px;
}

.header h1 {
    font-size: 18px;
    font-weight: normal;
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info {
    color: #bfcbd9;
}

/* 侧边栏 */
.sidebar {
    height: calc(100vh - 60px);
    overflow-y: auto;
    border-right: 1px solid #e6e6e6;
}

/* 主内容区 */
.main-content {
    padding: 20px;
    background-color: #f0f2f5;
}

/* 登录页面样式 */
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: linear-gradient(135deg, #1a6dcc 0%, #4e94d9 100%);
    color: white;
    text-align: center;
    padding: 20px;
}

.login-title {
    font-size: 28px;
    margin-bottom: 10px;
}

.login-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.login-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 400px;
}

.option-button {
    height: 60px;
    font-size: 18px;
    border-radius: 10px;
    transition: all 0.3s;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.option-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.option-button.counselor {
    background-color: #409eff;
}

.option-button.student {
    background-color: #67c23a;
}

.system-info {
    margin-top: 40px;
    font-size: 14px;
    opacity: 0.7;
}

/* 登录表单样式 */
.login-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #f5f7fa;
    padding: 20px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 24px;
    color: #303133;
}

.login-header p {
    color: #606266;
    margin-top: 10px;
}

.login-form {
    width: 100%;
    max-width: 400px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

.submit-btn {
    width: 100%;
    margin-bottom: 10px;
}

.login-footer {
    text-align: center;
    color: #909399;
    font-size: 14px;
    margin-top: 20px;
    line-height: 1.5;
}

/* 报表页面样式 */
.report-container {
    padding: 20px;
}

.selector {
    margin-bottom: 20px;
}

.stats-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.stats-card {
    flex: 1;
    min-width: 500px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.card-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #303133;
    border-bottom: 1px solid #ebeef5;
    padding-bottom: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.stat-item {
    text-align: center;
    padding: 10px;
    background: #f5f7fa;
    border-radius: 4px;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    color: #909399;
    font-size: 14px;
}

.chart-container {
    width: 100%;
    height: 300px;
}

.no-data {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

/* 假期发布页面样式 */
.holiday-publish {
    padding: 20px;
}

.toolbar {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-end;
}

.holiday-table {
    margin-bottom: 20px;
}

.pagination {
    display: flex;
    justify-content: center;
}

/* 学生假期查询页面样式 */
.travel-query {
    padding: 20px;
}

.page-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #303133;
}

.holiday-table {
    margin-bottom: 20px;
}

.no-data {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

/* 学生信息页面样式 */
.profile-container {
    padding: 20px;
}

.page-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #303133;
}

.profile-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.avatar {
    width: 80px;
    height: 80px;
    background-color: #f0f2f5;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.name {
    font-size: 24px;
    margin: 0 0 10px 0;
    color: #303133;
}

.detail {
    color: #606266;
    margin: 5px 0;
}

.section-title {
    font-size: 18px;
    margin: 20px 0 10px 0;
    color: #303133;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.address-container {
    display: flex;
    gap: 10px;
}
